#ifndef RECV_H
#define RECV_H

#include<mycpplearn.h>
#include"logger.h"
#include"threadPool.h"

// typedef struct train_s{
//     int train_len;
//     char train_data[1024];
// }train_t;

int recv_n(int fd,void* buf,int len);

int recv_file(int fd,char* filename, ssize_t fileSize);





#endif